


/**
 * api配置
 */
class ConfigApi{
	/**
	 * 请求地址
	 */
	static requestUrl = "api.xzcms.zhangsan.kanglongyouhui.com/";
	/**
	 * 是否使用ssl //https请求
	 */
    static requestSSL = false; 
	/**
     * 请求头
     */
    static requestHeaders(headers){
        var guid = ["x-u-guid", ZCookie.get("x-u-guid", 0)]
        var token = ["x-u-token", ZCookie.get("x-u-token", "")]
        var timestamp = ["x-u-timestamp", ZCookie.get("x-u-timestamp", 0)]
        return [guid, token, timestamp]
    }
	/**
     * 请求数据签名
     */
    static requestSignature(params){
        return ["x-m-signature", "xxx"]
    }
	/**
	 * websocket 主机地址
	 */
    static websocketHost = "127.0.0.1";
	/**
	 * websocket 主机端口
	 */
    static websocketPort = 7788;

    
}
export default ConfigApi